﻿<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true" CodeFile="Khuvuc.aspx.cs" Inherits="Admin_Khuvuc" Title="Untitled Page" %>

<%@ Register Assembly="ASPnetPagerV2_8" Namespace="ASPnetControls" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
<b class="fontmenu">Menu</b>
            <hr style="size:1px; width:80%"/>
     
        <ul>
        <li><a href="Danhsachsanpham.aspx" shape="default" class="fontlink1">Danh sách sản phẩm</a></li><li><a href="Themsanpham.aspx" class="fontlink1">Thêm mới sản phẩm</a></li></ul> 
        <hr style="size:1px; width:80%"/>
    <ul>
   <li><a href="DanhsachDoanhnghiep.aspx" class="fontlink1">Doanh nghiệp</a></li><li><a href="ThemDoanhnghiep.aspx" class="fontlink1">Thêm mới doanh ngiệp</a></li></ul>
    <hr style="size:1px; width:80%"/>
    <ul>
   <li><a href="danhsachdanhmuc.aspx" class="fontlink1">Danh mục</a></li><li><a href="ThemDanhmuc.aspx" class="fontlink1">Thêm mới danh mục</a></li> </ul>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table width="100%" cellpadding="3" cellspacing="0" style="font-family:Tahoma; font-size:14px">
       
       <tr><td class="font">
            Danh sách khu vực
        </td></tr>
        <tr><td><p></p></td></tr>
        <tr><td>
                Tên Khu Vực:
                <asp:TextBox ID="txt_tenkv" runat="server" Width="122px"></asp:TextBox>
             
                <asp:Button ID="btn_them" runat="server" Text="Thêm khu vực" OnClick="btn_tthem_Click" />

           </td></tr>
            <tr><td align="right">
                <asp:LinkButton ID="lbt_Xoa" runat="server" OnClick="lbt_Xoa_Click">Xóa</asp:LinkButton>    
           </td></tr>
 <tr><td>
        <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound" >
            <HeaderTemplate>
                <table cellspacing="0" cellpadding="3" width="100%" border="1">
                <thead>
                    <tr class="fontht1">
                        <th>Mã Khu Vực</th>
                        <th>Tên Khu Vực</th>
                        <th>Sửa</th>
                        <th>
                            <input id="cb_All" type="checkbox" onclick="CheckAll(1);" />
                            <a href="javascript:CheckAll(2)">Chọn hết</a>
                        </th>
                    </tr>
                </thead>
                <tbody>
            </HeaderTemplate>
            <ItemTemplate>
              <tr>
                <td><%#Eval("makv")%></td>
                <td><asp:Literal ID="ten_kv" runat="server"></asp:Literal>  </td>
                                
                <td><asp:HyperLink ID="hpl_Edit" Text="Edit" runat="server" /></td>
                <td>
                    <asp:CheckBox ID="cb_Xoa" runat="server" />
                    <asp:HiddenField ID="hf_id" Value='<%#Eval("makv") %>' runat="server" />
                </td>
              </tr>
            </ItemTemplate>
            <FooterTemplate>
                </tbody>
            </table>   
            </FooterTemplate>
        </asp:Repeater>  
        </td></tr>
        <tr><td>
                <cc1:PagerV2_8 ID="Pager" runat="server" OnCommand="pager_Command" />
          </td></tr>
        
        
 </table>
</asp:Content>

